| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | const Response = require('../util/response') |
||
| 7 | list: async function (ctx) { |
||
| 8 | |||
| 9 | let images = [ |
||
| 10 | { |
||
| 11 | 'name': 'name', |
||
| 12 | 'image': 'http://tools.miaoke.tech/images/card/bg1.png', |
||
| 13 | 'template_id': 1, |
||
| 14 | }, |
||
| 15 | { |
||
| 16 | 'name': 'name', |
||
| 17 | 'image': 'http://tools.miaoke.tech/images/card/bg2.png', |
||
| 18 | 'template_id': 2, |
||
| 19 | }, |
||
| 20 | { |
||
| 21 | 'name': 'name', |
||
| 22 | 'image': 'http://tools.miaoke.tech/images/card/bg3.png', |
||
| 23 | 'template_id': 3, |
||
| 24 | }, |
||
| 25 | ] |
||
| 26 | |||
| 27 | return Response.output(ctx, images) |
||
| 28 | }, |
||
| 29 | |||
| 31 | } |